import {defHttp} from '@/utils/http/axios'

export function getProductCatelogTree(params) {
  return defHttp.request({
    url: `/servlet/rest/com/invt/thingworx/getProductCatelogTree`,
    method: 'get',
    params
  });
}

export function getOfferingInfo(params) {
  return defHttp.request({
    url: `/servlet/rest/com/invt/thingworx/getOfferingInfo`,
    method: 'get',
    params,
  });
}

export function getOfferingProduct(params) {
  return defHttp.request({
    url: `/servlet/rest/com/invt/thingworx/getOfferingProduct`,
    method: 'get',
    params,
  });
}


export function getOfferingDocument(params) {
  return defHttp.request({
    url: `/servlet/rest/com/invt/thingworx/getOfferingDocument`,
    method: 'get',
    params,
  });
}
